#ifndef CFG_OUTPUT_MATCH_H
#define CFG_OUTPUT_MATCH_H
//******************************************************************************
//*this code is protected by the GNU affero GPLv3
//*author:Sylvain BERTRAND <sylvain.bertrand AT gmail dot com>
//*                        <digital.ragnarok AT gmail dot com>
//******************************************************************************
#define CFG_OUTPUT_MATCH_MANUFACTURER_GLOB_MAX 128
#define CFG_OUTPUT_MATCH_PRODUCT_CODE_GLOB_MAX 128
#define CFG_OUTPUT_MATCH_MONITOR_NAME_GLOB_MAX 128
#define CFG_OUTPUT_MATCH_MONITOR_SERIAL_GLOB_MAX 128

struct cfg_output_match_info{
  u8 manufacturer_glob[CFG_OUTPUT_MATCH_MANUFACTURER_GLOB_MAX+1];
  u8 product_code_glob[CFG_OUTPUT_MATCH_PRODUCT_CODE_GLOB_MAX+1];
  u8 monitor_name_glob[CFG_OUTPUT_MATCH_MONITOR_NAME_GLOB_MAX+1];
  u8 monitor_serial_glob[CFG_OUTPUT_MATCH_MONITOR_SERIAL_GLOB_MAX+1];
};

struct cfg_ctx_output;
void cfg_output_match_info_get(struct cfg_ctx_output *c,s64 output_start,
                                           struct cfg_output_match_info *info);
#endif
